using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UniRlv.COL
{
    public class CodeRltInfo:BaseEntity
    {

      public string code { get; set; }

      public string rltCode { get; set; }

      public string batch { get; set; }

      public int codeState { get; set; }

      public DateTime inTime { get; set; }

      public override bool Equals(object obj)
      {
          if (obj != null && obj is CodeRltInfo)
          {
              CodeRltInfo objComp = obj as CodeRltInfo;

              return objComp.code.Equals(this.code, StringComparison.OrdinalIgnoreCase);
          }

          return false;
      }
    }
}
